"""
for循环
"""
str = '安全生产'
for i in str:
    print(i)

# range方法
for i in range(4):
    print(i)